from fastapi import APIRouter
from app.core.dependency import DependPermisson
from .space import appointment_space_router
from .project import appointment_project_router
from .instrument import appointment_instrument_router
from .designer import appointment_designer_router
from .salon import appointment_salon_router
from .list import appointment_list_router
from .setting import appointment_setting_router
from .category import appointment_category_router

appointment_router = APIRouter()
appointment_router.include_router(appointment_setting_router, prefix="/setting", tags=["后端-基础配置"], dependencies=[DependPermisson])
appointment_router.include_router(appointment_space_router, prefix="/space", tags=["后端-预约门店配置"], dependencies=[DependPermisson])
appointment_router.include_router(appointment_category_router, prefix="/category", tags=["后端-预约项目分类"], dependencies=[DependPermisson])

appointment_router.include_router(appointment_project_router, prefix="/project", tags=["后端-预约项目配置"], dependencies=[DependPermisson])
appointment_router.include_router(appointment_instrument_router, prefix="/instrument", tags=["后端-预约仪器配置"], dependencies=[DependPermisson])
appointment_router.include_router(appointment_designer_router, prefix="/designer", tags=["后端-预约对象配置"], dependencies=[DependPermisson])
appointment_router.include_router(appointment_salon_router, prefix="/salon", tags=["后端-预约沙龙配置"], dependencies=[DependPermisson])
appointment_router.include_router(appointment_list_router, prefix="/list", tags=["后端-预约列表查询"], dependencies=[DependPermisson])
